package factorymethod;

public class FactoryMethodTest {
    public static void main(String[] args) {
        CacheFactory factory = new RedisCacheFactory();
        factory.getClient().get("1");
        CacheFactory factory2 = new MemCacheFactory();
        factory2.getClient().put("2",1);
    }
}
